/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp2pdf.pasfait.cart.bean;

/**
 *
 * @author Danicela
 */
public class BookException extends Exception
{
    private String text;

    public BookException(String text)
    {
        this.text = text;
    }

    @Override
    public String toString()
    {
        return text;
    }

}
